﻿using Abp.Application.Services.Dto;
using Hicap.QRCodeWarehouse.Core.Models.Other;
using System;

namespace Hicap.QRCodeWarehouse.Application.Dto
{
    public class GenerationTaskListDto : FullAuditedEntityDto, IEntityDto
    {
        public int ProductId { get; set; }

        public ProductListDto Product { get; set; }

        public int Amount { get; set; }

        public GenerationRuleType CodeType { get; set; }

        public GenerationStatus Status { get; set; }

        public GenerationTaskType @Type { get; set; }

        public string CronExpression { get; set; }

        public int SubordinateCompanyId { get; set; }

        public bool IsActive { get; set; } = true;

        public DateTime? TriggeredTime { get; set; } = null;
    }
}